﻿Public Class Settings

    Private _var_default_upper As String = String.Empty
    Private _var_default_description As String = String.Empty
    Private _var_default_max_threads As Integer = 0
    Private _var_default_encryption_enabled As Boolean = False
    Private _var_default_encryption_password As String = String.Empty
    Private _var_default_sfdl_file_save_location As String = String.Empty
    Private _var_generate_filename_with_description As Boolean = False
    Private _var_use_folder_name_as_packagename As Boolean = False
    Private _var_clear_sfdl_file_queue As Boolean = False
    Private _list_exluded_files As New List(Of String)

    Public Property DefaultUpper As String
        Set(value As String)
            _var_default_upper = value
        End Set
        Get
            Return _var_default_upper
        End Get
    End Property

    Public Property DefaultDescription As String
        Set(value As String)
            _var_default_description = value
        End Set
        Get
            Return _var_default_description
        End Get
    End Property

    Public Property DefaultMaxThreads As Integer
        Set(value As Integer)
            _var_default_max_threads = value
        End Set
        Get
            Return _var_default_max_threads
        End Get
    End Property

    Public Property DefaultEncryptionEnabled As Boolean
        Set(value As Boolean)
            _var_default_encryption_enabled = value
        End Set
        Get
            Return _var_default_encryption_enabled
        End Get
    End Property

    Public Property DefaultEncryptionPassword As String
        Set(value As String)
            _var_default_encryption_password = value
        End Set
        Get
            Return _var_default_encryption_password
        End Get
    End Property

    Public Property DefaultSFDLFileSaveLocation As String
        Set(value As String)
            _var_default_sfdl_file_save_location = value
        End Set
        Get
            Return _var_default_sfdl_file_save_location
        End Get
    End Property

    Public Property GenerateFileNameWithDescription As Boolean
        Set(value As Boolean)
            _var_generate_filename_with_description = value
        End Set
        Get
            Return _var_generate_filename_with_description
        End Get
    End Property

    Public Property UseFolderNameAsPackagename As Boolean
        Set(value As Boolean)
            _var_use_folder_name_as_packagename = value
        End Set
        Get
            Return _var_use_folder_name_as_packagename
        End Get
    End Property

    Public Property ClearSFDLFileQueueAfterCreation As Boolean
        Set(value As Boolean)
            _var_clear_sfdl_file_queue = value
        End Set
        Get
            Return _var_clear_sfdl_file_queue
        End Get
    End Property

    Public Property ExcludedFileList As List(Of String)
        Set(value As List(Of String))
            _list_exluded_files = _list_exluded_files
        End Set
        Get
            Return _list_exluded_files
        End Get
    End Property

End Class